<?php
/* @var $this CommentController */
/* @var $model Comment */
/* @var $form TbActiveForm */
?>

<div class="form">

    <?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'id'=>'comment-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>true,
)); ?>

        <?php echo $form->textAreaControlGroup($model,'content',array('rows'=>3,'span'=>5,'placeholder' => Yii::t('profession_messages','profession.comment.write'), 'label' => false)); ?>
        
       <div class="row buttons">
        <?php echo TbHtml::submitButton( Yii::t('profession_messages','profession.comment.add'),array(
		    'color'=>TbHtml::BUTTON_COLOR_PRIMARY,
		    'size'=>TbHtml::BUTTON_SIZE_SMALL,
		)); ?>
		</div>

    <?php $this->endWidget(); ?>

</div><!-- form -->